<script setup>
const handleMyButton = () => {
  console.log('点击自己的按钮')
}
</script>

<template>
  <div>
    <a-button @click="handleMyButton">test button</a-button>
  </div>
</template>